[INFO] fetching crate onnx-infer 0.4.19...
[INFO] fixing onnx-infer-0.4.19 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] extracting crate onnx-infer 0.4.19 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate onnx-infer 0.4.19
[INFO] finished tweaking crates.io crate onnx-infer 0.4.19
[INFO] tweaked toml for crates.io crate onnx-infer 0.4.19 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate onnx-infer 0.4.19 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate onnx-infer 0.4.19 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded test-case-core v3.3.1
[INFO] [stderr]   Downloaded tracing-chrome v0.7.2
[INFO] [stderr]   Downloaded test-case v3.3.1
[INFO] [stderr]   Downloaded protox v0.9.1
[INFO] [stderr]   Downloaded test-case-macros v3.3.1
[INFO] [stderr]   Downloaded logos-derive v0.15.1
[INFO] [stderr]   Downloaded equator-macro v0.4.2
[INFO] [stderr]   Downloaded aligned-vec v0.6.4
[INFO] [stderr]   Downloaded simd_helpers v0.1.0
[INFO] [stderr]   Downloaded fax v0.2.6
[INFO] [stderr]   Downloaded profiling v1.0.17
[INFO] [stderr]   Downloaded beef v0.5.2
[INFO] [stderr]   Downloaded maybe-rayon v0.1.1
[INFO] [stderr]   Downloaded bit_field v0.10.3
[INFO] [stderr]   Downloaded fax_derive v0.2.0
[INFO] [stderr]   Downloaded profiling-procmacros v1.0.17
[INFO] [stderr]   Downloaded num-derive v0.4.2
[INFO] [stderr]   Downloaded noop_proc_macro v0.3.0
[INFO] [stderr]   Downloaded loop9 v0.1.5
[INFO] [stderr]   Downloaded aligned v0.4.3
[INFO] [stderr]   Downloaded avif-serialize v0.8.8
[INFO] [stderr]   Downloaded miette-derive v7.6.0
[INFO] [stderr]   Downloaded arg_enum_proc_macro v0.3.4
[INFO] [stderr]   Downloaded as-slice v0.2.1
[INFO] [stderr]   Downloaded new_debug_unreachable v1.0.6
[INFO] [stderr]   Downloaded interpolate_name v0.2.4
[INFO] [stderr]   Downloaded byteorder-lite v0.1.0
[INFO] [stderr]   Downloaded lebe v0.5.3
[INFO] [stderr]   Downloaded pastey v0.1.1
[INFO] [stderr]   Downloaded color_quant v1.1.0
[INFO] [stderr]   Downloaded fixedbitset v0.5.7
[INFO] [stderr]   Downloaded v_frame v0.3.9
[INFO] [stderr]   Downloaded equator v0.4.2
[INFO] [stderr]   Downloaded prost-derive v0.14.3
[INFO] [stderr]   Downloaded prost-build v0.14.3
[INFO] [stderr]   Downloaded protox-parse v0.9.0
[INFO] [stderr]   Downloaded ravif v0.13.0
[INFO] [stderr]   Downloaded cexpr v0.6.0
[INFO] [stderr]   Downloaded no_std_io2 v0.9.3
[INFO] [stderr]   Downloaded prost v0.14.3
[INFO] [stderr]   Downloaded arbitrary v1.4.2
[INFO] [stderr]   Downloaded built v0.8.0
[INFO] [stderr]   Downloaded y4m v0.8.0
[INFO] [stderr]   Downloaded zune-inflate v0.2.54
[INFO] [stderr]   Downloaded clang-sys v1.8.1
[INFO] [stderr]   Downloaded av1-grain v0.2.5
[INFO] [stderr]   Downloaded logos-codegen v0.15.1
[INFO] [stderr]   Downloaded prost-types v0.14.3
[INFO] [stderr]   Downloaded bitstream-io v4.10.0
[INFO] [stderr]   Downloaded gif v0.14.2
[INFO] [stderr]   Downloaded imgref v1.12.0
[INFO] [stderr]   Downloaded qoi v0.4.1
[INFO] [stderr]   Downloaded image-webp v0.2.4
[INFO] [stderr]   Downloaded miette v7.6.0
[INFO] [stderr]   Downloaded cc v1.2.61
[INFO] [stderr]   Downloaded prost-reflect v0.16.3
[INFO] [stderr]   Downloaded libfuzzer-sys v0.4.12
[INFO] [stderr]   Downloaded moxcms v0.8.1
[INFO] [stderr]   Downloaded exr v1.74.0
[INFO] [stderr]   Downloaded bindgen v0.72.1
[INFO] [stderr]   Downloaded image v0.25.10
[INFO] [stderr]   Downloaded web-sys v0.3.95
[INFO] [stderr]   Downloaded petgraph v0.8.3
[INFO] [stderr]   Downloaded av-scenechange v0.14.1
[INFO] [stderr]   Downloaded pxfm v0.1.29
[INFO] [stderr]   Downloaded rav1e v0.8.1
[INFO] [stderr]   Downloaded logos v0.15.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 24419c54976d4248c273fb822e8463cdeae21eb262988f6bce00c492633bf6c7
[INFO] running `Command { std: "docker" "start" "24419c54976d4248c273fb822e8463cdeae21eb262988f6bce00c492633bf6c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "24419c54976d4248c273fb822e8463cdeae21eb262988f6bce00c492633bf6c7" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "24419c54976d4248c273fb822e8463cdeae21eb262988f6bce00c492633bf6c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "24419c54976d4248c273fb822e8463cdeae21eb262988f6bce00c492633bf6c7" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling semver v1.0.28
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling hashbrown v0.17.0
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling fixedbitset v0.5.7
[INFO] [stderr]    Compiling logos-codegen v0.15.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling multimap v0.10.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking plotters-backend v0.3.7
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking plotters-svg v0.3.7
[INFO] [stderr]     Checking clap_builder v4.6.0
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking nu-ansi-term v0.50.3
[INFO] [stderr]     Checking page_size v0.6.0
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]     Checking oorandom v11.1.5
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]    Compiling alloca v0.4.0
[INFO] [stderr]    Compiling petgraph v0.8.3
[INFO] [stderr]     Checking criterion-plot v0.8.2
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]    Compiling test-case-core v3.3.1
[INFO] [stderr]    Compiling prost-derive v0.14.3
[INFO] [stderr]    Compiling miette-derive v7.6.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling zerocopy-derive v0.8.48
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling test-case-macros v3.3.1
[INFO] [stderr]    Compiling miette v7.6.0
[INFO] [stderr]     Checking test-case v3.3.1
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling prost v0.14.3
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling logos-derive v0.15.1
[INFO] [stderr]    Compiling logos v0.15.1
[INFO] [stderr]    Compiling prost-types v0.14.3
[INFO] [stderr]     Checking tracing-chrome v0.7.2
[INFO] [stderr]    Compiling protox-parse v0.9.0
[INFO] [stderr]    Compiling prost-reflect v0.16.3
[INFO] [stderr]    Compiling prost-build v0.14.3
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]    Compiling protox v0.9.1
[INFO] [stderr]    Compiling onnx-infer v0.4.19 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking criterion v0.8.2
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> benches/kernels.rs:63:32
[INFO] [stdout]     |
[INFO] [stdout]  63 |         b.iter(|| conv.execute(&values, &mut output).unwrap())
[INFO] [stdout]     |                        ------- ^^^^^^^ expected `&Values<'_>`, found `&HashMap<String, Tensor>`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&onnx_infer::Values<'_>`
[INFO] [stdout]                found reference `&HashMap<std::string::String, onnx_infer::Tensor>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/layers/mod.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn execute(&mut self, values: &Values, output: &mut Tensor) -> Result<()>;
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> benches/kernels.rs:101:32
[INFO] [stdout]     |
[INFO] [stdout] 101 |         b.iter(|| conv.execute(&values, &mut output).unwrap())
[INFO] [stdout]     |                        ------- ^^^^^^^ expected `&Values<'_>`, found `&HashMap<String, Tensor>`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&onnx_infer::Values<'_>`
[INFO] [stdout]                found reference `&HashMap<std::string::String, onnx_infer::Tensor>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/layers/mod.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn execute(&mut self, values: &Values, output: &mut Tensor) -> Result<()>;
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> benches/kernels.rs:124:34
[INFO] [stdout]     |
[INFO] [stdout] 124 |         b.iter(|| matmul.execute(&values, &mut output).unwrap())
[INFO] [stdout]     |                          ------- ^^^^^^^ expected `&Values<'_>`, found `&HashMap<String, Tensor>`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&onnx_infer::Values<'_>`
[INFO] [stdout]                found reference `&HashMap<std::string::String, onnx_infer::Tensor>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/layers/mod.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn execute(&mut self, values: &Values, output: &mut Tensor) -> Result<()>;
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> benches/kernels.rs:145:34
[INFO] [stdout]     |
[INFO] [stdout] 145 |         b.iter(|| matmul.execute(&values, &mut output).unwrap())
[INFO] [stdout]     |                          ------- ^^^^^^^ expected `&Values<'_>`, found `&HashMap<String, Tensor>`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&onnx_infer::Values<'_>`
[INFO] [stdout]                found reference `&HashMap<std::string::String, onnx_infer::Tensor>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/layers/mod.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn execute(&mut self, values: &Values, output: &mut Tensor) -> Result<()>;
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> benches/kernels.rs:167:34
[INFO] [stdout]     |
[INFO] [stdout] 167 |         b.iter(|| matmul.execute(&values, &mut output).unwrap())
[INFO] [stdout]     |                          ------- ^^^^^^^ expected `&Values<'_>`, found `&HashMap<String, Tensor>`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&onnx_infer::Values<'_>`
[INFO] [stdout]                found reference `&HashMap<std::string::String, onnx_infer::Tensor>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/layers/mod.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn execute(&mut self, values: &Values, output: &mut Tensor) -> Result<()>;
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> benches/kernels.rs:199:32
[INFO] [stdout]     |
[INFO] [stdout] 199 |         b.iter(|| gemm.execute(&values, &mut output).unwrap())
[INFO] [stdout]     |                        ------- ^^^^^^^ expected `&Values<'_>`, found `&HashMap<String, Tensor>`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&onnx_infer::Values<'_>`
[INFO] [stdout]                found reference `&HashMap<std::string::String, onnx_infer::Tensor>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/layers/mod.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn execute(&mut self, values: &Values, output: &mut Tensor) -> Result<()>;
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `onnx-infer` (bench "kernels") due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> benches/inference.rs:52:30
[INFO] [stdout]    |
[INFO] [stdout] 52 |         EngineMode::Plain => InferenceEngine::new(&model_bytes).expect("load model"),
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^-------------- argument #2 of type `InferenceOptions` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/inference_engine.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn new(model_bytes: &[u8], opts: InferenceOptions) -> Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 52 |         EngineMode::Plain => InferenceEngine::new(&model_bytes, /* InferenceOptions */).expect("load model"),
[INFO] [stdout]    |                                                               ++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `with_graph_opt` found for struct `InferenceEngine` in the current scope
[INFO] [stdout]   --> benches/inference.rs:53:50
[INFO] [stdout]    |
[INFO] [stdout] 53 |         EngineMode::GraphOpt => InferenceEngine::with_graph_opt(&model_bytes).expect("load model"),
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^ associated function or constant not found in `InferenceEngine`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `InferenceEngine`, consider using `InferenceEngine::new` which returns `Result<InferenceEngine, anyhow::Error>`
[INFO] [stdout]   --> src/inference_engine.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn new(model_bytes: &[u8], opts: InferenceOptions) -> Result<Self> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `dump_graph_opt` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 53 -         EngineMode::GraphOpt => InferenceEngine::with_graph_opt(&model_bytes).expect("load model"),
[INFO] [stdout] 53 +         EngineMode::GraphOpt => InferenceEngine::dump_graph_opt(&model_bytes).expect("load model"),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> benches/inference.rs:111:30
[INFO] [stdout]     |
[INFO] [stdout] 111 |         EngineMode::Plain => InferenceEngine::new(&model_bytes).expect("load model"),
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^-------------- argument #2 of type `InferenceOptions` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/inference_engine.rs:76:12
[INFO] [stdout]     |
[INFO] [stdout]  76 |     pub fn new(model_bytes: &[u8], opts: InferenceOptions) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 111 |         EngineMode::Plain => InferenceEngine::new(&model_bytes, /* InferenceOptions */).expect("load model"),
[INFO] [stdout]     |                                                               ++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `with_graph_opt` found for struct `InferenceEngine` in the current scope
[INFO] [stdout]    --> benches/inference.rs:112:50
[INFO] [stdout]     |
[INFO] [stdout] 112 |         EngineMode::GraphOpt => InferenceEngine::with_graph_opt(&model_bytes).expect("load model"),
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^ associated function or constant not found in `InferenceEngine`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `InferenceEngine`, consider using `InferenceEngine::new` which returns `Result<InferenceEngine, anyhow::Error>`
[INFO] [stdout]    --> src/inference_engine.rs:76:5
[INFO] [stdout]     |
[INFO] [stdout]  76 |     pub fn new(model_bytes: &[u8], opts: InferenceOptions) -> Result<Self> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `dump_graph_opt` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 112 -         EngineMode::GraphOpt => InferenceEngine::with_graph_opt(&model_bytes).expect("load model"),
[INFO] [stdout] 112 +         EngineMode::GraphOpt => InferenceEngine::dump_graph_opt(&model_bytes).expect("load model"),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:195:19
[INFO] [stdout]     |
[INFO] [stdout] 192 |     let (mut engine, inputs) = load_single_input(&base, "model.onnx");
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 195 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:204:19
[INFO] [stdout]     |
[INFO] [stdout] 201 |     let (mut engine, inputs) = load_single_input(&base, "model.onnx");
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 204 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:213:19
[INFO] [stdout]     |
[INFO] [stdout] 210 |     let (mut engine, inputs) = load_single_input(&base, "model.onnx");
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 213 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:222:19
[INFO] [stdout]     |
[INFO] [stdout] 219 |     let (mut engine, inputs) = load_single_input(&base, "mnist-12.onnx");
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 222 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:231:19
[INFO] [stdout]     |
[INFO] [stdout] 228 |     let (mut engine, inputs) = load_single_input(&base, "mobilenetv2-7.onnx");
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 231 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:240:19
[INFO] [stdout]     |
[INFO] [stdout] 237 |     let (mut engine, inputs) = load_single_input(&base, "mobilenetv2-12.onnx");
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 240 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:249:19
[INFO] [stdout]     |
[INFO] [stdout] 246 |     let (mut engine, inputs) = load_single_input(&base, "model.onnx");
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 249 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:258:19
[INFO] [stdout]     |
[INFO] [stdout] 255 |     let (mut engine, inputs) = load_multi_input(&base, "yolov3-tiny.onnx");
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 258 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:267:19
[INFO] [stdout]     |
[INFO] [stdout] 264 |     let (mut engine, inputs) = load_single_input(&base, "yolov4.onnx");
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 267 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:278:19
[INFO] [stdout]     |
[INFO] [stdout] 275 |     let (mut engine, inputs) = load_single_input_opt(&base, "mnist-12.onnx", true);
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 278 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:287:19
[INFO] [stdout]     |
[INFO] [stdout] 284 |     let (mut engine, inputs) = load_single_input_opt(&base, "mobilenetv2-7.onnx", true);
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 287 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:296:19
[INFO] [stdout]     |
[INFO] [stdout] 293 |     let (mut engine, inputs) = load_single_input_opt(&base, "mobilenetv2-12.onnx", true);
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 296 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:305:19
[INFO] [stdout]     |
[INFO] [stdout] 302 |     let (mut engine, inputs) = load_single_input_opt(&base, "model.onnx", true);
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 305 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:314:19
[INFO] [stdout]     |
[INFO] [stdout] 311 |     let (mut engine, inputs) = load_multi_input_opt(&base, "yolov3-tiny.onnx", true);
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 314 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:323:19
[INFO] [stdout]     |
[INFO] [stdout] 320 |     let (mut engine, inputs) = load_single_input_opt(&base, "yolov4.onnx", true);
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 323 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `onnx-infer` (bench "inference") due to 19 previous errors
[INFO] running `Command { std: "docker" "inspect" "24419c54976d4248c273fb822e8463cdeae21eb262988f6bce00c492633bf6c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24419c54976d4248c273fb822e8463cdeae21eb262988f6bce00c492633bf6c7", kill_on_drop: false }`
[INFO] [stdout] 24419c54976d4248c273fb822e8463cdeae21eb262988f6bce00c492633bf6c7
